Problem Note 45689: The SAS® Stored Process Server might stop functioning properly if you cancel a request that is running PROC SQL code
If you execute a SAS
® Stored Process using SAS
® Enterprise Guide
® or using
SAS
® Add–in for Microsoft
Office and you cancel the request before it completes execution, this might cause problems
for the SAS
® Stored Process Server if the SAS Stored Process is executing PROC SQL code
when the request is cancelled.
If you encounter this problem, and you attempt to execute the same SAS Stored Process
again, the request might fail and the SAS® Stored Process Server log file might contain an
error message that is similar to the following:
ERROR: MEMBER lock is not available for <data set name here> , lock held by REB name length returned is zero..
A Segmentation Violation (or Access Violation) error message might also appear in your
SAS Stored Process Server log file.
If you stop and restart your SAS Stored Process Server, the SAS Stored Process should
execute successfully. However, if you cancel another request when PROC SQL code is executing,
then in some cases the problem might reoccur.
One workaround is to replace the PROC SQL code with a SAS data step that performs
similar functionality.
Another workaround is to modify the PROC SQL code so that it creates a uniquely–named
data set in the SAS WORK library (to avoid causing a lock for another, subsequent request).
For example:
/* Create a Unique data set name */
data _null_;
rand = ranuni(0) * 100000000;
ds_name = "tmp" || trim(left(put(rand,8.)));
call symput("ds_name", ds_name);
run;
proc sql;
create table work.&ds_name /* <-- Note the unique name. */
as select name, age, height, weight
from sashelp.class;
quit;
Click the
Hot Fix tab to download the Hot Fix for SAS 9.21_M3 and SAS 9.3_M1.
Operating System and Release Information
SAS System | SAS Integration Technologies | OpenVMS on HP Integrity | 9.2 TS2M3 | 9.3 TS1M2 |
Linux for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Linux | 9.2 TS2M3 | 9.3 TS1M2 |
HP-UX IPF | 9.2 TS2M3 | 9.3 TS1M2 |
64-bit Enabled Solaris | 9.2 TS2M3 | 9.3 TS1M2 |
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.3 TS1M2 |
64-bit Enabled AIX | 9.2 TS2M3 | 9.3 TS1M2 |
Windows Vista for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Solaris for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows Vista | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Ultimate x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Professional x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Professional 32 bit | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Home Premium x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Enterprise x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows XP Professional | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2008 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | 9.3 TS1M2 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
If you execute a SAS® Stored Process using SAS® Enterprise Guide® or using
SAS® Add-in for Microsoft Office and cancel the request before it completes execution, it might cause problems for the SAS® Stored Process Server if the Stored Process is executing PROC SQL code when the request is canceled
Type: | Problem Note |
Priority: | high |
Date Modified: | 2012-06-01 13:28:18 |
Date Created: | 2012-02-15 17:58:57 |